import request from '../utils/request';


export const fetchgetfamily = query => {
    return request({
        url: '/system/apis/family_member',
        method: 'get',
        params: query
    });
};
export const fetchupdatefamily = query => {
    return request({
        url: '/system/apis/family_member',
        method: 'put',
        data: query
    });
};

export const familydelete = query => {
    return request({
        url: '/system/apis/family_member',
        method: 'delete',
        data: query
    });
};

export const familyinsert = query => {
    return request({
        url:'system/apis/family_member',
        method: 'post',
        data : query


    })
}
